﻿using Abp.Domain.Entities;
using SOEI.Solution.Customized;
using System.ComponentModel.DataAnnotations.Schema;

namespace SOEI.Solution.DomainEntities.RegulatoryMange
{
    /// <summary>监管协议双方信息
    /// </summary>
    [Table("CLFZJJG_JGXYSFXX")]
    public class AgreementBoth : Entity<string>
    {
        /// <summary>监管协议双方编号
        /// </summary>
        [Column("BH")]
        public override string Id { get; set; }

        /// <summary>姓名
        /// </summary>
        [Column("XM")]
        public string XM { get; set; }

        /// <summary>证件类型
        /// </summary>
        [Column("ZJLX")]
        public string ZJLX { get; set; }

        /// <summary>证件号码
        /// </summary>
        [Column("ZJHM")]
        public string ZJHM { get; set; }

        /// <summary>联系电话
        /// </summary>
        [Column("LXDH")]
        public string LXDH { get; set; }

        /// <summary>通讯地址
        /// </summary>
        [Column("TXDZ")]
        public string TXDZ { get; set; }

        /// <summary>双方类型代码（01甲方；02乙方）
        /// </summary>
        [Column("SFLBDM")]
        public string SFLBDM { get; set; }

        /// <summary>监管协议编号
        /// </summary>
        [Column("JGXYBH")]
        public string JGXYBH { get; set; }

        /// <summary>证件类型代码
        /// </summary>
        [Column("ZJLXDM")]
        public string ZJLXDM { get; set; }

        #region --------------------------------------------扩展字段------------------------------------
        /// <summary>
        /// (签约) 个人账号ID
        /// </summary>
        [Column("ACCOUNTID")]
        public string AccountID { get; set; }

        /// <summary>
        /// (签约) 完成状态
        /// </summary>
        [Column("SIGNETSTATUS")]
        public ESignetStatus SignetStatus { get; set; }
        #endregion
    }
}
